package model

import (
	"time"
)

const SettingScienceLevelName = "setting_science_level"

type SettingScienceLevel struct {
	Id        int               `json:"id" orm:"auto" sql:"INT"`
	Name      map[string]string `json:"name" sql:"JSON"`
	Desc      map[string]string `json:"desc" sql:"JSON"`
	ScienceId int               `json:"science_id" sql:"INT"`
	Level     int               `json:"level" sql:"INT"`

	Require CompareDataRelationSlice `json:"require" sql:"JSON"`
	Consume DataRelationSlice        `json:"consume" sql:"JSON"`

	TargetEffect TargetDataRelationSlice `json:"target_effect" sql:"JSON"`
	EffectText   ShowTextSlice           `json:"effect_text" sql:"JSON"`

	UpdateTime *time.Time `json:"update_time" orm:"updateTime" sql:"DATETIME"`
}
